package cn.lili.mybatis.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;


/**
 * 租户超级类
 *
 * @author Chopper
 * @version v1.0
 * @since 2020/8/20 14:34
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class BaseTenantEntity extends BaseEntity {

    @Serial
    private static final long serialVersionUID = -8548650803910841325L;

    @ApiModelProperty(value = "租户id", hidden = true)
    private String tenantId;

}
